<?php $this->_extends('_layouts/default_layout'); ?>

<?php $this->_block('title'); ?>证券排行, <?php $this->_endblock(); ?>

<?php $this->_block('contents'); ?>
<div class="text-body">
		<div style="margin: 20px 30px 0px 30px; padding:10px; text-align: left;border: 0px solid #949AAA; background-color: #eee; font-size: 15px;" class="ui-corner-all">
			欢迎您！witpn旨在构建高品质的证券交流环境
		</div>
		<h3 style="float:left; margin:20px 0px 16px 10px;">最活跃的证券：</h3>
		
		<?php foreach($secs as $sec):?>
		<div class="press-entity">
			<span class="name"><a href="<?=url("sec/p", "id/{$sec['id']}") ?>" ><?=h($sec['name']) ?> (<?= h($sec['code']) ?>)</a></span><br />
			<span class="description" style="font-size: 13px"><?=$sec['follow_cnt'] ?>人关注；<?=$sec['press_cnt'] ?>条小新闻；<?=$sec['view_cnt'] ?>个评论</span>
		</div>
		<?php endforeach; ?>
</div>		
<?php $this->_endblock(); ?>
